Component({
    options: {
        addGlobalClass: !0
    },
    properties: {
        path: {
            value: "",
            type: String
        },
        tabsIndex: {
            value: 0,
            type: Number
        },
        ordinaryIndex: {
            value: 0,
            type: Number
        },
        is_release: {
            value: !1,
            type: Boolean
        }
    },
    data: {},
    methods: {
        gotoPublish: function() {
            var e = "";
            if (1 == this.data.tabsIndex) e = "advideo"; else if (0 == this.data.tabsIndex) {
                e = [ "news", "video", "audio", "article" ][this.data.ordinaryIndex];
            }
            wx.navigateTo({
                url: "/packageI/newMedia/newMediaPublish/newMediaPublish?type=" + e
            });
        },
        gotoMy: function() {
            wx.navigateTo({
                url: "/packageI/newMedia/newMediaMy/newMediaMy"
            });
        },
        gotoGuide: function() {
            wx.navigateTo({
                url: "/packageI/newMedia/newMediaGuide/newMediaGuide"
            });
        }
    }
});